package cn.kimming.mapper;

import cn.kimming.common.pojo.CheckInfo;
import cn.kimming.common.vo.CheckInfoVO;

import java.util.List;
import java.util.Set;

public interface CheckInfoMapper {

    int insertSelective(CheckInfo record);

    CheckInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CheckInfo record);

    Set<Integer> findAllRoomNumByBillId(Long orderbillId);

    List<CheckInfoVO> findVOByKeyword(String keyword);

    CheckInfo findLivingByRoomNum(Integer roomNum);

    List<CheckInfo> selectLivingByOrderbillId(Long orderbillId);

    Long findTodayCount();
}